home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ABUSESRC.ZIP
/
AbuseSrc
/
macabuse
/
imlib
/
include
/
timing.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
1997-05-20
|
405b
|
20 lines
#ifndef __TIMING_HPP_
#define __TIMING_HPP_
class time_marker
{
public :
long seconds;
long micro_seconds;
void get_time();
time_marker();
double diff_time(time_marker *other); // returns time diff in seconds
} ;
void milli_wait(unsigned wait_time); // sleeps for a milli second 1000 millies=1 sec
void timer_init();
void timer_uninit();
#endif